			<h2>Detail Produk</h2>

              	<div align="center">
               		<img src="<?php echo base_url('assets/img/'.($detail['gambar']));?>">
                    <h4><?php echo ($detail['nama_produk'])?></h4>
                    <h4>Harga : <?php echo($detail['harga'])?></h4>
              	</div>

 						<hr>

            <div class="form-panel">
                        <h4 style="text-align:center">Semua Komentar</h4>
                          <table class="table table-striped table-advance table-hover">
                              <thead>

                        <tr>      
                          <th>Nama </th>
                          <th>E-Mail </th>
                          <th>url</th>
                          <th>isi komentar</th>
                        </tr>   

                              </thead>
                              <tbody>
                              <?php foreach ($getkomentar as $gk):?>
                              <tr>
                                  <td><?php echo $gk->nama;?></td>
                                  <td><?php echo $gk->email;?></td>
                                  <td><?php echo $gk->url;?></td>
                                  <td><?php echo $gk->isi_komentar;?></td>
                              </tr>
                              <?php endforeach?>
                              </tbody>
                          </table>
                      </div><!-- /content-panel -->

                      <hr>

 						<h4 style="text-align:center">Komentar</h4>
 						<form class="form-horizontal" method="post" action="<?= base_url() ?>index.php/dashboard/insertkomentar" enctype="multipart/form-data">
                          <input type="text" class="hidden" name="id_produk" value="<?php echo ($detail['id_produk']);?>">
                          <div>
                              <label>Nama</label>
                              <input type="text" name="nama">
                          </div>
                          <div>
                              <label>email</label>
                              <input type="text" class="form-control" name="email">
                          </div>
                          <div>
                          	  <label>Url</label>
                              <input type="text" class="form-control" name="url">
                          </div>
                          <div>
                              <label>Isi Komentar</label>
                              <textarea class="form-control" name="komentar"></textarea>
                          </div>
                          <br></br>
                          <div class="form" style="text-align:left">
                              <button type="submit" class="btn btn-primary" onclick="return alert('Data disimpan')">Submit</button>
                              <button type="reset" class="btn">Reset</button>
                          </div>
                      </form>


